﻿using System.Collections.Generic;
using UnityEngine;

namespace JQMergeFramework
{
    public class CityCameraControl : MonoBehaviour
    {
        private List<GameObject> cityList = new List<GameObject>();

   
        private RenderTexture m_renderTexture;
        private Camera m_Camera;
        

        private void Awake()
        {
            m_Camera = GetComponent<Camera>();

            m_Camera.targetTexture = new RenderTexture(200, 200, 16, RenderTextureFormat.ARGB32);
        }

        public RenderTexture GetTexture()
        {
            return m_Camera.targetTexture;
        }
    }
}